extends Control


# Declare member variables here. Examples:
# var a = 2
# var b = "text"
const loader = preload("res://script/lib/Loader.gd")
const parser = preload("res://script/lib/Parser.gd")

# Called when the node enters the scene tree for the first time.
func _ready():
	var script = loader.load_new_script("index")
	var content = parser.parse(script)
	get_node("Background/Dialog/Dialog").bbcode_text = content.dialog
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta):
#	pass
